{include common/header}
{include common/left}
<div id="content">
  <ul class="breadcrumb">
    <li><a href="javascript:;"><i class="icon-home"></i>修改模块</a> </li>
   </ul>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title"> 
            <h5><span class="icon"> <i class="icon-align-justify"></i> </span>修改模块</h5>
          </div>
          <div class="widget-content nopadding">
            <form action="{url('group/edit_node')}" method="post" class="form-horizontal">
              
              <div class="control-group">
                <label class="control-label">上级模块</label>
                <div class="controls">
                  <select name="pid">
                  <option value="0">顶级模块</option>
                  {loop $nodes $node}
                  <option value="{$node['id']}" {if $node['id']==$edit_node['pid']}selected{/if}>{$node['show_title']}</option>                  
                  {/loop}
                  </select>
                </div>
              </div>
              
        <div class="control-group">
          <label class="control-label">模块标示</label>
          <div class="controls">
            <input type="text" name="name" value="{$edit_node['name']}" />
          </div>
        </div>
       
        <div class="control-group">
          <label class="control-label">模块名称</label>
          <div class="controls">
            <input type="text" name="title" value="{$edit_node['title']}" />
          </div>
        </div>
       
        
        
              <div class="form-actions">
              <input name="id" type="hidden" value="{$edit_node['id']}" />
                <input type="submit" class="btn btn-primary" value="确认">
              </div>
            </form>
          </div>
        </div>
        
      </div>
    </div>
  </div>
</div>
{include common/footer}